module.exports = {
    css: {
        sourceMap: true
    },
    devServer: {
        overlay: {  //让我们的浏览器关闭掉遮盖层的错误代码提示
            warnings: false,
            errors: false
        },
        proxy: {
            '/profile': {
                target: process.env.VUE_APP_BASEURL
            },
            '/api': {
                target: process.env.VUE_APP_BASEURL
            },
        }
    },
    lintOnSave: false, //直接关闭eslint检查
    outputDir: "build",
    publicPath: "./",
    chainWebpack: config => {
        config.plugin('html').tap(args => {
            args[0].title = "企业档案查询";
            return args
        });
    },
}
